package org.wmq.organizationmanagement.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.wmq.organizationmanagement.model.po.OrganizationMaster;
import org.wmq.organizationmanagement.model.vo.MemberVO;

import java.util.List;

public interface OrganizationMasterService extends IService<OrganizationMaster> {
    List<MemberVO> getListByOrganizationId(Long organizationId);

    List<MemberVO> getListByOrganizationIdAndMasterName(Long organizationId, String masterName);

    boolean removeByOrganizationId(Long organizationId);

    boolean removeByOrganizationIdAndMasterId(Long organizationId, Long masterId);

    boolean removeByMasterId(Long masterId);
}
